chore: release - merge dev into main#414
Merged
zbigniewsobiecki merged 9 commits intomainfrom Feb 18, 2026
Merged
Conversation
- Extract AgentCapabilities interface and registry to agents/shared/capabilities.ts - Replace hardcoded agentType checks in base.ts with capability lookups - Remove needsGitHubToken from AgentCapabilities (top-level AgentProfile field is single source of truth) - Update adapter test to match simplified capabilities Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Pass repoDir to createProgressMonitor in adapter.ts and base.ts so the
state file is actually written (previously dead code)
- Update lifecycle.ts callback signature to forward repoDir
- Add optional repoDir param to readProgressCommentId() for API symmetry
with writeProgressCommentId() and clearProgressCommentId()
- Add .cascade-progress-comment-id to .gitignore
- Merge split fs imports in progressState.ts
- Replace require('node:fs') with ESM imports in progressState tests
- Add clarifying comment on maybeWriteStateFile call path
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ntCapabilities Replace inline capability objects in agent-profiles.ts with getAgentCapabilities() lookups, eliminating the dual-registry sync risk flagged in code review. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…e-dedup refactor(agents): extract shared lifecycle utilities to eliminate code duplication
…fails The `else` branch in `postProgressToPM` (entered when `postInitialComment()` fails and the first tick creates the comment) was not calling `maybeWriteStateFile()`, leaving the state file unwritten. This meant the PostComment gadget would not find the progress comment ID and would create a duplicate instead of replacing it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
clearProgressCommentId() uses rmSync which can throw on permissions errors. Since stop() is called from finally blocks in lifecycle.ts and adapter.ts, an uncaught exception would mask the actual agent execution result. Wrap in try-catch for best-effort cleanup. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…t-replace feat(progress): replace initial progress comment with final summary via state file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated release PR created by the release workflow.
Commits (9):